package com.example.pcl.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(name = "咨询记录查询条件")
public class ConsultationRecordQueryDTO extends CommonPage {
    @Schema(description = "预约ID", example = "101")
    private Integer appointmentId;

    @Schema(description = "咨询时间开始")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @Schema(description = "咨询时间结束")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    @Schema(description = "咨询师对学生心理问题的分析关键字", example = "焦虑")
    private String problemAnalysisKeyword;

    @Schema(description = "用户ID")
    private Integer userId;

    @Schema(description = "心理咨询师ID")
    private Integer counselorId;
}

